﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BaiTu.Logging;
using BaiTu.ILogging;

namespace BaiTu.Logging.Test
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            try
            {
                Logging.BaiTuLog4netFactory factory = new BaiTuLog4netFactory();
                ILogger logger = factory.CreateLogger("baitu");
                logger.Debug("hello");
                logger.Information("info");
                logger.Warning("warn");
                logger.Error("error");
                logger.Fatal("fatal");
                
            }
            catch (Exception ex)
            { 
            
            }

        }
    }
}
